package com.zulucap.riftcalc;

import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.zulucap.R;

public class MenuActivity extends BaseActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu);
        
        // Set custom font
        TextView tv=(TextView)findViewById(R.id.txt_title); 
        Button newBuild = (Button) findViewById(R.id.btn_new_build);
        Button myBuilds = (Button) findViewById(R.id.btn_my_builds);
        
        this.testVar = "New Value";
        
        face=Typeface.createFromAsset(getAssets(), "fonts/CrimsonText-Roman.ttf"); 
    	faceBold = Typeface.createFromAsset(getAssets(), "fonts/CrimsonText-Bold.ttf");
    	
    	tv.setTypeface(faceBold); 
    	newBuild.setTypeface(face);
    	myBuilds.setTypeface(face);
    }
    
    public void newBuild(View view){
    	Intent i = new Intent(getApplicationContext(), NewBuildActivity.class);
        startActivity(i);
    }
    public void myBuilds(View view){
    	// Go To My Builds
    }
}